<?php

require_once '../application/models/DbTable/gevu/niveaux.php';
class connect
{
	
    public function get_values ()
    {
        try {
            $db = Zend_Db::factory('Pdo_Mysql', 
            array('host' => 'localhost', 'port' => '80', 'username' => 'root', 
            'password' => '', 'dbname' => 'gevu'));
           // $db->getConnection();
            // $sql="select * from niveaux" ;
           // $result=$db->fetchAll($sql);
           
           $t=new  Models_DbTable_Gevu_niveaux();            
            return  $t->getAll();
          
        } catch (Zend_Exception $e) {
            echo "A problem has occured";
        }
      return "hello"; 
    }
    
}